<template>
    <p :style="`color:${value.data.style.color};font-size:${value.data.style.size}px;`" v-iedit>{{value.data.attribute.value}}</p>
</template>
<script type="text/javascript">
export default {
  props: {
    value: {
      type: [Array, Object]
    }
  },
  computed: {
    data: {
      get: function() {
        return this.value;
      },
      set: function(value) {
        this.$emit('input', value);
      }
    }
  }
}

</script>
<style type="text/css" lang="scss">
</style>
